-- GENERATED SPELL FOR [Skeletal Fiend] --


function spell0_531(pUnit, Event) --@Fiend Fury,Self--
pUnit:FullCastSpellOnTarget(3416,pUnit)
pUnit:RegisterEvent('Sorts_531', 10280, 1)
end

function Sorts_531(pUnit, Event)
local choix_sorts_531 = math.random(0, 0)
if choix_sorts_531 == 0 then
pUnit:RegisterEvent('spell0_531', 1, 1)
end
end

function mob531_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_531', math.random(1500, 3000), 1)
end

function mob531_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob531_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob531_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(531, 1, 'mob531_Action')
RegisterUnitEvent(531, 2, 'mob531_Leave')
RegisterUnitEvent(531, 3, 'mob531_Kill')
RegisterUnitEvent(531, 4, 'mob531_Die')
